package net.wanho.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.wanho.po.Emp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 员工表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2024-12-20
 */
@Mapper
public interface EmpMapper extends BaseMapper<Emp> {

    List<Emp> selectAll();

    Page<Emp> selectByPage(Page<Emp> page, @Param("ew") Wrapper<Emp> wrapper);
}
